package EVM;


import Commons.Cell;

public class RightRotateGate extends SimpleLogicGate{
    public RightRotateGate(Cell input, Cell output, String name) {
        super(input, output, name);
    }

    public void execute(boolean open) {
        if (open) {
            output.set(input.get() >> 1);
        }
    }

}
